package com.cc.mapper;

import com.cc.entity.EmployeeAttendance;
import com.cc.entity.Employees;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【employees(员工基本信息表)】的数据库操作Mapper
* @createDate 2025-05-30 08:37:33
* @Entity com.cc.entity.Employees
*/
public interface EmployeesMapper {

    int deleteByPrimaryKey(Long id);



    int insertSelective(Employees record);

    Employees selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Employees record);

    int updateByPrimaryKey(Employees record);

    int findAll();
    Employees selectEmployeeByEmployeeNo(String employeeNo);

    List<Employees> selectByName(@Param("name") String name,@Param("departmentId") int departmentId);

    Employees selectByemployeeno(String employeeNo);
    int insert(Employees employees);
}
